<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<SCRIPT LANGUAGE="JavaScript" src="../js/prj_choose.js"></SCRIPT>
</head>
<body>
<form name="dd">
<input type="button" value=" 上传附件 " onclick="uploadSelect('upload_file_select.jsp')" >

<input type="button" value="选择项目分类" onclick='openDialog()'>

<input type="button" value="选择项目" onclick="ChoosePrj('a','b')">
<input type="text" name="a"><br>
<input type="text" name="b">
</form>
</body>
</html>
<script language="javascript">
			function openDialog()
			{
				var sURL			= "../prj_tree/catalog_tree_dialog.jsp" ;
				var nDialogWidth	= 530;
				var nDialogHeight	= 400;
				var nLeft			= (window.screen.availWidth-nDialogWidth)/2;
				var nTop			= (window.screen.availHeight-nDialogHeight)/2;
				var sFeatures		= "dialogLeft:"+nLeft+"px;dialogTop:"+nTop+"px;dialogHeight:"+nDialogHeight+"px;dialogWidth:"+nDialogWidth+"px;help:no;status:no";
				var sReturnVal		= window.showModalDialog(sURL,"",sFeatures) ;
	
				if (('undefined' != typeof(sReturnVal)) )
				{
					alert( sReturnVal );
				}
		//		p_oElement.blur();		
			}
</Script>